extends layout

block content
    h1= title
    p Welcome to #[em LocalLibrary], a very basic Express website developed as a tutorial example on the Mozilla Developer Network.
    h1 Dynamic content

    if error
        p Error getting dynamic content
    else
        p 图书馆总览

        ul
            li #[strong 图书种类:] !{data.book_count}
            li #[strong 图书总数:] !{data.book_instance_count}
            li #[strong 可借数量:] !{data.book_instance_available}
            li #[strong 作家数量:] !{data.author_count}
            li #[strong 分类数量:] !{data.genre_count}